/*
 * RunData.h
 *
 *  Created on: Feb 10, 2011
 *      Author: dblyth
 */

#ifndef RUNDATA_H_
#define RUNDATA_H_

#include "TBranch.h"
#include "TFile.h"

class RunData {
public:
	RunData(TFile* file, char* runName);
	virtual ~RunData();

	unsigned short** getEntry(long entryNum);
	int getEntryCount();
	int getSamplesPerChannel();
	int getNumChannels();

private:
	TBranch* dataBranch;
	int samplesPerChannel;
	int entryCount;
	int numChannels;
};

#endif /* RUNDATA_H_ */
